package com.imc.api.templmess.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Delegate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.persistence.Transient;

@Component
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@ConfigurationProperties(prefix = "notifyProperty")
public class NotifyPropertyConfig {
    @Delegate
    @Autowired
    PayTemConfig payTemConfig;

    private PubliceAddress publiceAddress;

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class PubliceAddress{
        private String missLessonTempletId;
        private String appointTempletId;
    }

    private AppAddress appAddress;

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class AppAddress{
        private String missLessonTempletId;
        private String appointTempletId;
    }

//    //公众号消息模板
//    private String pubMissTempletId;
//    private String pubAppointTempletId;
//    private String appMissTempletId;
//    private String appAppointTempletId;





}
